//
//  Rectangle.h
//  Prog8.5
//
//  Created by Nenad Djordjevic on 6/7/09.
//  Copyright 2009 USS. All rights reserved.
//
// TODO: Do something!
#import <Cocoa/Cocoa.h>
#import "XYPoint.h"

// Interface definition
@interface Rectangle : NSObject {
	int width;
	int height;
	XYPoint *origin;
}

@property int width, height;
-(XYPoint *) origin;
-(void) setOrigin: (XYPoint *) pt;
-(void) setWidth: (int) w andHeight: (int) h;
-(int) area;
-(int) perimeter;
@end

